package com.wuchao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wuchao
 * @since 2022-08-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Vehicle对象", description="")
public class Vehicle implements Serializable {


    private static final long serialVersionUID = 1L;
    /* @TableLogic*/
    @TableId(value = "vid", type = IdType.AUTO)
    private Integer vid;

    private String vname;
    @TableField(exist = false)
    private String tname;

    //private Integer vtype;

    private Integer vstate;
    @Version
    private Integer vmile;


}
